<template>
    <div class="input">
        <el-input v-model="formData[eleData.key]" :type="eleData.type"></el-input>
    </div>
</template>
<script lang="ts">
    import {defineComponent, ref} from 'vue';

    export default defineComponent({
        name: 'custominput',
        props:{
            eleData:{
                type:Object
            },
            formData:{
                type: Object
            }
        },
        setup() {
            const name = ref('')
            return {name};
        },
    });
</script>
